package com.yic.module.device.convert.inspectionRecordInfo;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.device.controller.admin.inspectionRecordInfo.vo.*;
import com.yic.module.device.dal.dataobject.inspectionRecordInfo.InspectionRecordInfoDO;

/**
 * 巡检/点检记录明细 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface InspectionRecordInfoConvert {

    InspectionRecordInfoConvert INSTANCE = Mappers.getMapper(InspectionRecordInfoConvert.class);

    InspectionRecordInfoDO convert(InspectionRecordInfoCreateReqVO bean);

    InspectionRecordInfoDO convert(InspectionRecordInfoUpdateReqVO bean);

    InspectionRecordInfoRespVO convert(InspectionRecordInfoDO bean);

    List<InspectionRecordInfoRespVO> convertList(List<InspectionRecordInfoDO> list);

    PageResult<InspectionRecordInfoRespVO> convertPage(PageResult<InspectionRecordInfoDO> page);

    List<InspectionRecordInfoExcelVO> convertList02(List<InspectionRecordInfoDO> list);

}
